ME: added transformation for loading modal