Implemented window dialog