Prints the report definition and closes the window.
Closes the window without printing the report definition.