The real power is custom commands and a standard way to implement them. The built-in commands will always be just conveniences that many convert to a custom version as complexity increases.
Even something like close will wind up being --my-close, and several additional checks will be run before dialogEl.close() is called.
Even something like close will wind up being --my-close, and several additional checks will be run before dialogEl.close() is called.