@PatchMethod static String prompt(String msg, String initialValue) { WindowOperationsHandler handler = GwtConfig.get().getWindowOperationsHandler(); if (handler != null) { return handler.prompt(msg, initialValue); } return null; }