disables save button when no instance selected