Fixing panel close issue .