# Iframe not supported in ui\_notification when dialog mode

**URL:** <https://discourse.nodered.org/t/iframe-not-supported-in-ui-notification-when-dialog-mode/11901>\
**Category:** Dashboard\
**Created:** [6 June 2019 07:54 UTC](https://discourse.nodered.org/t/iframe-not-supported-in-ui-notification-when-dialog-mode/11901 "2019-06-06T07:54:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![allebarbieri](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/allebarbieri/32/7116_2.png) [@allebarbieri](https://discourse.nodered.org/u/allebarbieri)\
**Post date:** [6 June 2019 07:54 UTC](https://discourse.nodered.org/t/iframe-not-supported-in-ui-notification-when-dialog-mode/11901/1 "2019-06-06T07:54:54Z")

</div>

I noticed the iframe is not supported inside notification node when the node is in OK/Cancel dialog mode.  
All other modes (Top right...) seem fine.  
Do you experience the same?

```auto
[{"id":"70defbae.9bcd64","type":"ui_toast","z":"7e861a7c.4452b4","position":"dialog","displayTime":"3","highlight":"","outputs":1,"ok":"OK","cancel":"","topic":"","name":"","x":1030,"y":200,"wires":[[]]},{"id":"264c3fa5.434d6","type":"ui_button","z":"7e861a7c.4452b4","name":"","group":"79013da6.5bad14","order":0,"width":0,"height":0,"passthru":false,"label":"button","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":670,"y":200,"wires":[["ffdbac93.2d50c"]]},{"id":"ffdbac93.2d50c","type":"template","z":"7e861a7c.4452b4","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"<iframe src=\"https://www.nasa.gov/\">\n Your browser does not support iframes.\n</iframe>\n","output":"str","x":820,"y":200,"wires":[["70defbae.9bcd64","e34f5cc4.d613a"]]},{"id":"e34f5cc4.d613a","type":"ui_toast","z":"7e861a7c.4452b4","position":"top right","displayTime":"3","highlight":"","outputs":0,"ok":"OK","cancel":"NO","topic":"","name":"","x":1050,"y":240,"wires":[]},{"id":"79013da6.5bad14","type":"ui_group","z":"","name":"Default","tab":"9f07378d.44b478","disp":true,"width":"6","collapse":false},{"id":"9f07378d.44b478","type":"ui_tab","z":"","name":"Home","icon":"fa-bath","order":1,"disabled":false,"hidden":false}]

```

![Picture1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/20a2e9db99332e6f816a4bab040fe27210236ed4.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 June 2019 17:32 UTC](https://discourse.nodered.org/t/iframe-not-supported-in-ui-notification-when-dialog-mode/11901/2 "2019-06-06T17:32:33Z")

</div>

Correct - they are supposed to be simple acknowledgement popups - not places to embed lots of html. The corner ones use mdToast and the other mdDialog.  
But I agree they aren't consistent one vs the other.
