Close notes dialog when save button clicked.