Minor fixes to modal and slide