Fixed form editing after submission bug