fix what was broken in the modal build up