small refactoring in order to provide out-of-the-box PopUp for view process (needed by jbpm console)