Fix interval dialog bug