Add a "close window" button to the model viewer