Re-inserting the code for modals