fixed save button show hide bug on initial page load