Change getpart method and add dialog content