To restore the confirmation popup do as it is said in this askubuntu post: make sure your file manager supports executing files:
$ gsettings set org.gnome.nautilus.preferences executable-text-activation ask
Alternatively:
- Open dconf Editor
- Navigate to org.gnome.nautilus.preferences
- Set the 'executable-text-activation' to 'ask'