edit modal box fixed and working