What is the html and javascript to add a account selector in a dashlet?

I am trying to filter results in a dashlet.  One of the fields will be based on the account.  What is the code to bring a popup to select an account?

thank you