Allow close or quick close to be selected only if certain statuses are met (e.g., done, accepted, cancelled). This would have to be a configurable field as custom statuses can be added.

This would prevent stories from being closed with statuses not considered complete - which may negatively impact metrics accuracy.