Allow 'confirm' and 'cancel' buttons to grow

Depending on the used locale, the text that is to be displayed might need more than the default space. Fixes #415