Moving the item select modal to handle both files and content.