fixes save dialog