Adding title and removing related metadata box if no related metadata exists