Do not show context menu if selected item is null