reverting app/components/modal.js