added binding to close current view.