Adding action buttons to note dialog

They don't do anything yet.
Adding methods to manipulate notes