Added warning pop up for edit