Include screen.h in dialog.h for definition of WScreen