replaced foundation's modal with my own modal.