I don't perhaps show a dialog, disable the button until the note is created ...
Anything to indicate that something is happening and not to be clicked again.

I'm not sure how this is reverse sorted by size.