code improvement for event propagation
Delete note
reusable deletion logic pushed down to timeline
move dialogs to separate global app module