Reverting dialog directive to previous state