Made the file selection dialog go away when you press save. Also made a function to automatically add the .db extension when files are saved.