fixed close case bug and added all the graphical for the closing pane