Fixing bug with flashing panel on close.
Fixing bug with flashing panel navigation on panel close.