Make dialogs invisible if js is not enabled, display warning.