Add disabling system button in CFlatDialogEx

If deprived dialog has no minimize box or maximize box, CFlatDialogEx
also disabling them.