Update dialog.hpp