Jquery Mobile dialog comes with a close icon/button aligned to left by default.

There is no documented option for changing the alignment.

Below code will align close button to right.

A Demo can be seen here