summon interaction ^ ^2.7 ^2.5 {width:0.5f,height:0.25f,response:1b,Tags:["button"],Passengers:[{id:"minecraft:text_display",teleport_duration:1,Rotation:[270F,0F],alignment:"center",Tags:["button","text","choice","leave"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,0f],scale:[1f,1f,1f]},text:'{"color":"gold","bold":true,"text":"=Leave?="}',background:7566195}]}

#buttons
summon interaction ^ ^2.2 ^2.5 {width:0.5f,height:0.25f,response:1b,Tags:["button","leave"],Passengers:[{id:"minecraft:text_display",teleport_duration:1,Rotation:[270F,0F],alignment:"center",Tags:["button","leave","text","choice"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,0f],scale:[1f,1f,1f]},text:'{"color":"green","text":"Yes ✔"}',background:7566195}]}

#background
summon item_display ^ ^2.5 ^2.6 {Tags:["background","leave"],Rotation:[270F,0F],shadow_strength:0f,shadow_radius:0f,brightness:{sky:15,block:0},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3f,1.5f,0.1f]},item:{id:"minecraft:black_stained_glass"}}