# A modern dialog window instead of the standard box.”

**URL:** <https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019>\
**Category:** Questions\
**Created:** [September 3, 2025, 1:34pm UTC](https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019 "2025-09-03T13:34:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saeed](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Saeed](https://the.fmsoup.org/u/Saeed)\
**Post date:** [September 3, 2025, 1:34pm UTC](https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019/1 "2025-09-03T13:34:19Z")

</div>

I have tried many times to create a Windows card instead of the standard dialog box, as I want it to look more professional. Unfortunately, it’s still not working.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/5/535d2bdca9c3687decb88e9e25dc151db7b96d5f.png)

Set Error Capture [On]  
Allow User Abort [Off]

# 

New Window [Style: Card ; Name: "Confirm\_Exit" ; Using layout: “UI\_Exit\_Application” ; Height: 200 ; Width: 400 ; Top: Center ; Left: Center]

Pause Script [Indefinitely]

If [$$Choice\_Exit = "Exit"]  
Close Window [Name: "Confirm\_Exit"]  
Exit Application  
Else If [$$Choice\_Exit = "Cancel"]  
Close Window [Name: "Confirm\_Exit"]  
Exit Script [Text Result: "Cancelled"]  
End If

note: the a script will be onlastwindowsclose.

---

<div class="post-metadata">

**Author:** ![mike275](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@mike275](https://the.fmsoup.org/u/mike275)\
**Post date:** [September 3, 2025, 4:29pm UTC](https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019/2 "2025-09-03T16:29:54Z")

</div>

> **[Groovy Dialogs - Hi-Voltage](https://hi-voltage.com.au/products/groovy-dialogs/)**
>
> Groovy Dialogs 
> 
> Groovy Dialogs is a free FileMaker 16 tool to create groovy looking dialog boxes that replace FileMaker's boring custom dialog boxes.      
> Replace FileMaker's boring Custom Dialog boxes from this: 
> To this:    
> Learn how we created...

---

<div class="post-metadata">

**Author:** ![Kirk](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/kirk/32/2197_2.png) [@Kirk](https://the.fmsoup.org/u/Kirk)\
**Post date:** [September 3, 2025, 8:35pm UTC](https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019/3 "2025-09-03T20:35:54Z")

</div>

Not sure what you are having as an issue. ??

A card window is auto-sizing, auto-entering, modal to the parent window launched from. That last tidbit may be where the issue lies; the card cannot exist if the parent window is not open. Also the pause script indefinitely has nothing (in your post) to indicate a resume script.

---

<div class="post-metadata">

**Author:** ![daleallyn](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/daleallyn/32/819_2.png) [@daleallyn](https://the.fmsoup.org/u/daleallyn)\
**Post date:** [September 4, 2025, 4:32am UTC](https://the.fmsoup.org/t/a-modern-dialog-window-instead-of-the-standard-box/5019/4 "2025-09-04T04:32:06Z")

</div>

Hi, @Saeed , if I understand your request, here's a **very simple** example file that does what I think you want. The issue is you need two scripts, not one with "pause indefinitely". Plus a $$trigger to help direct things.

The scripts are bare-bones, but you can extend as needed. Upon closing you could do some logging data first or whatever. The "No" button uses a single step script, but you could take the user to their dashboard or whatever, etc. I hope it's of some help to you.

[CardDialogOnLastWindowClose.fmp12](https://the.fmsoup.org/uploads/short-url/ys66hljOa25kAJuG5oo0uFqPe0G.fmp12) (220 KB)
