Added styling and transitions to modal