Fixed the widget display. Was throwing "AttributeError" while saving M2M records.