Modal form in android XE5 application

If you want to use modal form in an android XE5 application you need to implement it :)…

You open the form as modal like this:

If you want to return result you must send a procedure as parameter.
In the modal form add:  

In the calling form you must have a CallForResult procedure eg.: