Fixed bug in EditObjectsDlg - press m to get context menu, on_context_menu assumed it was a mouse event