re-enable dialog var unsetting