Reload bug fixed

Now edition  pop-up window reloads after calling cURL functions. It prevents form random data losses.