v2.1
returnObj.value
is correctly set toundefined
if a dialog is not of "prompt" type.- Renamed button classes (
dialog-continue-button
→dialog-continue-btn
,dialog-cancel-button
→dialog-cancel-btn
). - Removed unneeded
data-action
attributes on dialog buttons. - Simplified code (increased readability).