fix dashboard bug #14, not completed yet. Added order edit handling.