fix tests. Modals transition out