Prevent to reopen panel when clicking in Linux