Now unit edit validations are triggered on tab changing

And have a some fixes for media_content validations