add menu dialog to history page