For Efi, If Pane isnt visible dnt do eny action

I put before events to chek if panel is visible then do smth, if pane is
not visible then do nothing.
Hope it will help! :)