Input dialogue box with Closing functionality

Maybe a bit late, but I think this should help:

1 Like