save file modal implemented