Hi @Mario248 It's always recommended to separate the business logic from the presentation layer. So, it's always recommended to use sling models to fetch the values from the dialog, even though it's just a getter and setter. Hope it helps!Thanks,Kiran Vedantam.