Some ID stuff and javascript for modals