}
});
this.display.getFormPanel().addSubmitCompleteHandler(new FormPanel.SubmitCompleteHandler() {
@Override
public void onSubmitComplete(final SubmitCompleteEvent event) {
Adware.get().getEventBus().fireEvent(new RPCInEvent());
final String blobKey = ResourceEditPresenter.this.resource.getBlobKey();
if (blobKey != null && !"".equals(blobKey)) {
// remove old image blob
new RPCCall<Boolean>() {
@Override