bootstrap modal working and deleting things