Use `$panel` since it's a jquery object.