added show-hide functionality to date inputs on button click