Fixed modal dialog issue, not decorated yet. resolves #32