I've paid attention, in some UI5-samples, I can see press=".onCloseDialog", in another: press="onCloseDialog".
I mean, in some cases, the name of controller's method in XML-template is written with the leading dot and sometimes without. Is it a matter of a taste?