[TIMOB-10542] Added modal flag to modal window