setting up cloud modal