Show login dialog before share dialog.