webpack chunking, modal autofocus bugfix