Bug 964257 - Close the tab before flipping the deck away from the customize pane.  ui-r=phlsa, r=mconley