Dialog requires 2 clicks to close

Hi, I have several dialogs in an app, but 1 of them requires 2 clicks to close. On the first click, the dialog appears to change position, the second click on the X will then close the dialog. Has anyone seen this behavior? All other dialogs in the app work properly.

I have found the issue. The moving the dialog starting position to the left solved the issue.