Fix an old call to notify_action_required()

Before commit 1aa4b7db1272b2322e492812de60e072d5d7081a
the functino notify_action_required() was used, replace with the new
function notify_logout() instead.

Also fix the wrong signature of _logout function which require 5
parameters and not four.
Remove deprecation warnings

Remove some deprecation warnings on MessageDialog using the new keywords