Revert page dialogs script for now