Fixes #6404: advanced application template `Alert` widget was generating duplicate IDs in case of multiple flashes