update to custom dialog