fix delete button in version selector being clickable after deleting version