User can exit the preview mode by hitting the ESC key or clicking the X