         $.when(append_bucket_item_panel(num_bucket_items, bucket_item, false)).then ->
             gui.primary_panel.change $('#sortable-bucket-item-list').find('.panel:last')
             if bucket_item_type != 'Person'
-                populate_new_panel_dropup(gui.primary_panel.dom.find('.panel-dropup'))
+                populate_new_panel_dropup($(gui.primary_panel.dom).find('.panel-dropup'))
             gui.primary_panel.focus_first_input()
 
 $(document).on 'click', '#plus-button-group > div > button', ->

            when 'i'
                if $('#remove-bucket-modal').attr('aria-hidden') == "false"
                    gui.focus($('#delete-modal-delete-button'))
                else if gui.primary_panel.dom.find('.panel-collapse').hasClass('in')
                    gui.focus($('#delete-modal-delete-button'))
            when 't'
                #alt-t is tools in firefox, I'm choosing to override it for now...
                #TODO is this a jerk move?

                else
                    if gui.primary_panel.dom.next().length != 0
                        gui.primary_panel.change(gui.primary_panel.dom.next())
                    if $(gui.primary_panel.dom).find('.panel_collapse').hasClass('in')
                        set_panel_initial_focus gui.primary_panel.dom
            when 'K'
                if not current_dropdown_item and not $('.bucket-dropdown').hasClass('open')
