Refactoring. Free entrance box in modal now removes itself when the attribute is not enabled in the database.