Started making a common dialog framework.
Have implemented a datetime and a position component which are working well.
There is an example dialog.