Common JavaScript asynchronous dialog alternatives to alert, confirm and prompt