remove form from div after image save