Implement click&drag support for creating notes

#1051