use filename of opened file in save dialog