Revert "Fixes #6" because it causes regression with path bar

This reverts commit e0bf9d0ea8a3fdd5d9e0c0f67c5b03f036ba2b49.
Fixes #6: problems with dialog action buttons