support for modal only buttons and toast