--- "api": patch --- Overload the dialog `open` function to have better TS result types.