Distinguish Save-as and Snapshot dialog window