Adds defaults and fix input issue

I have added default properties to input and confirm... :)