dont show context menu when in edit mode