append template to element

fixes issue #65

This appends the widget after the element so that the default
bootstrap styling will align the dropdown properly