In version 1.3.15.5 (possibly earlier and later versions as well) using the ‘bounds’ value makes the dialog have some ui glitches, and causes the buttons inside it to be unable to be interacted with.
You can recreate it by doing
dialog:show{wait = false, autoscrollbars = true}
local b = dialog.bounds
dialog:close()
dialog:show{wait = false, bounds = b, autoscrollbars = true}