adding modifying modal and adding edit feature