Variable dialog buttons; date input fixes