fixed delete a study with modal instead of dialog