nToastInDialog">Open Toast</ui5-button>
		<ui5-toast id="toastInDialog" placement="BottomEnd">Toast</ui5-toast>
	</ui5-dialog>

	<h3>Test Dialog and Toast</h3>
	<ui5-button id="btnDialog">Open Dialog</ui5-button>

	<script>

		// Attaching click listeners to the buttons which show the toasts
		document.querySelectorAll("ui5-button").forEach(function(button){
			button.addEventListener('click', function () {
				document.querySelector("#" + button.id.replace("BtnShow", "")).open = true;
			});
		});

		btnDi