Added checks and error messages to export dialog