Don't add null paths (for new files) to recent items
Clean up dialog code
Fix showing save as dialogs disconnected from window