resolve the draggable conflict with modal