added database/dialog window