IDE-1545 added check before adding jsf and vaadin portlet