Adde client-side functionality for save workflow button.