prepare modal-css effects