fixed the modal dialog while creating issue