modal and some stuff in index