Adding coordinates to form on click.