Changed modal to hook save button click (refresh search, close modal)