Whether to animate the close, or perform it instantaneously
Whether the application was closed via keypress.
Is the application being closed because a form was submitted?
Whether to animate the close, or perform it instantaneously