Added functionality for Diaparam popup / Saving Diaparam / Cancel adding Diaparam