fixed bug for Linux of not showing the user dialog
updated version