add footer functioanlity share/save button on advanceLayout