Change deactivation to Modal Dialogue