hidding buttons and progress when edit