KRACOEUS-8453: Closing dialog window through document actions