Implement ask_open_file, ask_save_file, ask_open_folder and ask_save_folder.