minor fix for restore dialog