added modal and pane close open