adjusted css and modal partial to get a better understanding of how modals work