re-enabling edit button on popupt