Modified close behavior, added pane navigation