Removed more cases of file dialog opening when it shouldn't.