document gui handler extended