dialog now also works with noteeditor