Below is the code for option #2 because I didn't have the dialog.xml for option #1, I've removed other fields for testing purpose.Javascript -------------------------------------------------------------(function(document, $) { "use strict"; $(document).on("foundation-contentloaded", function(e...