Add confirmation dialog for adding template param