Make autopopup true by default and remove debugging