add the modal dialog for saving note