Add prompt dialog to OC.dialogs

Part of the interface for server-server sharing

cc @PVince81 @DeepDiver1975