added positive button to addnotadialog