Write a function that responds to a click anywhere on the page by displaying an alert dialog. display the event name if the user held shift during the mouse click. display the element name that triggered the event if the user held ctrl during the mouse click.