Added dialog boxes on edit click.