Window level fix

The windowLevel of the window used to display the modal sheet view must
be greater than the previous window in order for the text editing
magnifying glass to work properly.