'Set commands as buttons doesnt work for non-static show method of Dialog.