views: Be correct on widget's life time.
linux: Fix setting parent window for file dialogs.