update the confirmation modal to execute callbacks only after the modal is fully hidden so that future modals do not open while this one is closing, and allow for a cancellation callback, and also rename the OK button to a verb passed by the caller
simplify how the timeline is generated, and add divs around a patch and its indented children so that we can drag-drop them together
first pass at drag-dropping patches to reorder them in the timeline