trying out the foundation and angular way to close a modal window.