Fix conflict between off-canvas and modal

Fixes #213