Dialogs: fix compiler warning

StandardButton is a 32-bit type again.

Change-Id: I8aba4150cee169ef837891e9d72a64d48db32346
Reviewed-by: Liang Qi <liang.qi@digia.com>