change size of dialogbox and add alert message