add validation for quote if not on quote tab (bug 1032832)