Error handling when select measurements is pressed with no technique selected

Raise error when select measurements is pressed with no technique selected and don't open the file selection dialogue.