support drag-and-drop, automatically fill in title & output