Should do on .setElement. Also this looks like it'll close it whenever there's a click. Is there a trick to this?