On PG5 2.0 and 2.1.100 it's not possible to compile a HMI editor project, the message is displayed: Operation is not allowed when objet is closed!
FAQ #101829
In some cases a HMI Editor project can't be compiled and this error message is displayed!

Solution:
Copy the 3 files in attachment in the following directory:
c:\Program Files\SAIA-Burgess\PG5 V2.1.100\HMI Editor\
or
c:\Program Files\SAIA-Burgess\PG5_20\HMI Editor\