Contract contract = getContract();
contract = contractWriter.accept(
authorizedUserService.getCurrentUser(),
contract);
eventsDispatcher.publishEvent(new ContractAccepted(contract,
authorizedUserService.getCurrentUser()));
if(target != null) {
target.add(toolbar.getParent());
target.add(statusSign);