I cannot find the answer on how to open the media gallery with the create/edit gallery view. I can open the media library with multiple image selection, sure. But i actually want the gallery view / flow as seen in the block type gallery.
The gallery flow has an action "create gallery" if none has been created before or "add to gallery" otherwise, where you can select multiple images with one click and confirm. It also has an action "edit gallery" where an existing gallery can be edited, which means reordering or removing items.
I tried to read the source code starting with the gallery block, but still could not figure out the answer. Also google did not give me an answer as they are outdated.