Transform modal.