Add missing header inclusion.
Remove template function 'loadFromDialogBox'.