How to add confirmation dialog for app settings

Hi there,

I am currently developing an App for Rocket.Chat that has settings that can be modified by an admin at Administration -> Apps -> MyApp page. When the admin does so by clicking the Save changes dialog, there is no confirmation that the settings have been changed. I noticed that such a confirmation is already implemented when a user changes his profile settings or when an admin changes some general settings in Rocket.Chat. I would like to re-use this function. Can you give me a hint on where to find it or how to implement it? Or is this a general issue to add this dialog to the Apps.-Engine by the Rocket.Chat app development team?