new Grid and Drop classes, update Dialog class