Revert code formatting in DialogHelper