fix_history_dialog