#mask {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9000;
  background-color: #000;
  display: none;
}
  
#boxes .window {
  position: fixed;
  left: 0;
  top: 0;
  width: 440px;
  height: 200px;
  display: none;
  z-index: 9999;
  padding: 20px;
}

#boxes #dialog {
  width: 315px; 
  height: 300px;
  padding: 10px;
  background-color: #ffffff;
}

#boxes #dialog2 {
  width: 215px; 
  height: 140px;
  padding: 10px;
  background-color: #ffffff;
}

#boxes #dialog3 {
  width: 400px; 
  height: 327px;
  padding: 10px;
  background-color: #ffffff;
}

#boxes #dialog4 {
  width: 400px; 
  height: 327px;
  padding: 10px;
  background-color: #ffffff;
}

.close{display:block; text-align:right;}