Am trying to use one dialog for add and edit. Instead of using two which are the same but differs in the header.
How can I make an alpha dialog header dynamic by string interpolating it instead of a static string.
I tried string interpolation on the header field but shows a variable name I have interpolated.
However when I console log it on the custom code it logs a value of a variable that is interpolated.