adds closepoll command