modal bug