Revert "enhancement/fix : function _canShowPopup - check if can show popup..."

This reverts commit 4352bab9f8ca14e7ea2f08453f6c233189ae37bc.