Implement save to file button and disable user input when a dialog is displayed.