fix position of the ok button
better example file
use the same ids as in the enum
initialize the date in the details tab