Working on Stack. Cleaning up code for Modals, making them work better on Ipad.