[STUDIO-2964]check that we can finish before calling performFinish on
double click
Merge branch '6.0.x' of https://github.com/bonitasoft/bonita-studio into 6.0.x