Reset input fileds and buttons when Modals has been closed