Added callback arguments to confirm() and prompt()