ECMS-5590 fix problem with empty popup when no action available on context menu