Fix modal issues. Tab should insert 2 spaces.